package com.zhhq.service;

import com.zhhq.model.User;

/**
 * Created by HeChaobin on 2017-07-16.
 */
public interface IUserService {

    User getUser(Long userID);

     User login(String loginName,String password);

    User addUser(User user);

    User getUserByLoginName(String loginname);

    void deleteUser(String loginName);

    void  updateUser(User user);

    void  updatePassword(String loginName,String password);
}
